<template>
  <div>
    <button @click="fn">点击按钮</button>
  </div>
</template>
<script>
export default {
  methods: {
    fn(e) {
      console.log('点击了button按钮')
      console.log(e)
    },
  },
}
</script>
